const HomeModule = {
  namespaced: true,
  state() {
    return {
      homeCount: 102,
    }
  },
  mutations: {
    decrement(state) {
      state.homeCount -= 1
    },
  },
  actions: {
    decrementAction(context) {
      context.commit('decrement')
    },
  },
  getters: {
    homeCountGet(state) {
      return `home里面的count ： ${state.homeCount}`
    },
  },
}
export default HomeModule
